package org.example.infrastructure.dao;


import org.apache.ibatis.annotations.Mapper;
import org.example.infrastructure.dao.po.OrderTransactionPO;

import java.util.Map;

/**
 * @author yinghuashen
 * @version 1.0
 * @description
 * @date 2025/3/10 20:17
 */

@Mapper
public interface IOrderTransactionDao {

    int saveOrderTransaction(OrderTransactionPO orderTransactionPO);

    OrderTransactionPO getByOutTradeNo(String outTradeNo);

    int updateStatusByOutTradeNo(Map<String, Object> params);
}

